package com.zhentao.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Student {
    private Integer stuId;
    private String stuName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")//声明前端送来的那种格式的日期数据
    private Date stuBir;
    private String stuSex;
    private int stuAge;
    private int cid;
    private Classes classes;

}
